package com.liu.dw.vo;

/**
 * @version 1.0
 * @author： LiuWeiGang
 */

import com.liu.dw.entity.Perm;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 获取角色列表
 */

@Data
@NoArgsConstructor
public class RoleVo implements Serializable {

    @ApiModelProperty("角色id")
    private Integer id;

    @ApiModelProperty("角色名")
    private String name;

    @ApiModelProperty("角色描述")
    private String description;

    private List<Perm> perms;
}
